package com.lvmama.controller.system;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lvmama.service.system.HomeScreenService;

@RestController
@RequestMapping("/homePage")
public class HomeScreenController {

    @Autowired
    HomeScreenService homeScreenService;

    @GetMapping("/hotScenicSpot")
    public Map<String, Object> hotScenicSpot() {
    	
    	return this.homeScreenService.hotScenicSpot();

    }
}
